package com.zb.demo.service.impl;

import com.zb.dao.CityMapper;
import com.zb.entity.City;
import com.zb.demo.service.CityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class CityServiceImpl implements CityService {
    @Autowired
    private CityMapper cm;

    @Override
    public List<City> getAll() {
        return  cm.getAll();
    }
}
